package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * artTag对象 art_tag
 * 
 * @author star
 * @date 2024-09-05
 */
public class ArtTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标签id */
    private Integer id;

    /** 标签名 */
    @Excel(name = "标签名")
    private String tagName;

    /** 标签类型，1系统内置，2用户自定义。 */
    @Excel(name = "标签类型，1系统内置，2用户自定义。")
    private Integer tagType;

    /** 文章类型id */
    @Excel(name = "文章类型id")
    private Integer categoryId;

    /** 标签状态 */
    @Excel(name = "标签状态")
    private Integer status;

    /** 标签链接 */
    @Excel(name = "标签链接")
    private String url;

    /** 标签是否删除 */
    @Excel(name = "标签是否删除")
    private Integer deleted;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }
    public void setTagType(Integer tagType) 
    {
        this.tagType = tagType;
    }

    public Integer getTagType() 
    {
        return tagType;
    }
    public void setCategoryId(Integer categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Integer getCategoryId() 
    {
        return categoryId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tagName", getTagName())
            .append("tagType", getTagType())
            .append("categoryId", getCategoryId())
            .append("status", getStatus())
            .append("url", getUrl())
            .append("deleted", getDeleted())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
